From: Florian Müllner Date: Wed, 12 Apr 2023 14:44:52 +0000 (+0200) Subject: st/test-theme: Don't initialize GTK X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~46 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a53d7faf9d1dee330e7fc313e11ec765e8476694;p=gnome-shell.git st/test-theme: Don't initialize GTK St no longer requires GTK to be initialized, so this is no longer needed (and pulls in an unnecessary GTK dependency). Part-of: --- diff --git a/src/st/meson.build b/src/st/meson.build index d77e43ba8..fe6664dce 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -199,7 +199,7 @@ if get_option('tests') test_theme = executable('test-theme', sources: 'test-theme.c', c_args: st_cflags, - dependencies: [mutter_test_dep, gtk_dep, libxml_dep], + dependencies: [mutter_test_dep, libxml_dep], build_rpath: mutter_typelibdir, link_with: libst ) diff --git a/src/st/test-theme.c b/src/st/test-theme.c index a019cd6ab..6e2702c15 100644 --- a/src/st/test-theme.c +++ b/src/st/test-theme.c @@ -28,8 +28,6 @@ #include #include -#include - static ClutterActor *stage; static StThemeNode *root; static StThemeNode *group1; @@ -549,8 +547,6 @@ main (int argc, char **argv) GFile *file; g_autofree char *cwd = NULL; - gtk_init (&argc, &argv); - /* meta_init() cds to $HOME */ cwd = g_get_current_dir ();